package fire.pet;

import java.util.ArrayList;

import jgame.JGObject;

import fire.chacracter.Character;

public class Pet {
	private int element, hp, strength, agility, dodge;
	private ArrayList<Skill> skill;
	private String image;

	public Pet(int element, int hp, int strength, int agility, int dodge,
			ArrayList<Skill> skill, String image) {
		this.element = element;
		this.hp = hp;
		this.strength = strength;
		this.agility = agility;
		this.dodge = dodge;
		this.skill = skill;
		this.image = image;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public int getElement() {
		return element;
	}

	public void setElement(int element) {
		this.element = element;
	}

	public int getHp() {
		return hp;
	}

	public void setHp(int hp) {
		this.hp = hp;
	}

	public int getStrength() {
		return strength;
	}

	public void setStrength(int strength) {
		this.strength = strength;
	}

	public int getAgility() {
		return agility;
	}

	public void setAgility(int agility) {
		this.agility = agility;
	}

	public int getDodge() {
		return dodge;
	}

	public void setDodge(int dodge) {
		this.dodge = dodge;
	}

	public ArrayList<Skill> getSkill() {
		return skill;
	}

	public void setSkill(ArrayList<Skill> skill) {
		this.skill = skill;
	}

	public void beHit(int i) {
		hp -= i;
	}
}
